package au.com.mason.propertyTracker.dto;

import java.util.ArrayList;
import java.util.List;

import au.com.mason.propertyTracker.domain.Property;

public class ChangedProperties {
	private List<Property> underContractProperties = new ArrayList<Property>();
	private List<Property> changedProperties = new ArrayList<Property>();
	private List<Property> removedProperties = new ArrayList<Property>();
	private List<Property> removedRentals = new ArrayList<Property>();
	private List<Property> soldProperties = new ArrayList<Property>();
	private List<Property> propertiesChangedPrice = new ArrayList<Property>();
	
	public void addUnderContract(Property property) {
		underContractProperties.add(property);
	}
	
	public void addRemoved(Property property) {
		removedProperties.add(property);
	}
	
	public void addChanged(Property property) {
		changedProperties.add(property);
	}
	
	public void addSold(Property property) {
		soldProperties.add(property);
	}
	
	public void addRemovedRental(Property property) {
		removedRentals.add(property);
	}
	
	public void addPropertyChangedPrice(Property property) {
		propertiesChangedPrice.add(property);
	}

	public List<Property> getUnderContractProperties() {
		return underContractProperties;
	}

	public List<Property> getChangedProperties() {
		return changedProperties;
	}

	public List<Property> getRemovedProperties() {
		return removedProperties;
	}

	public List<Property> getRemovedRentals() {
		return removedRentals;
	}

	public List<Property> getSoldProperties() {
		return soldProperties;
	}

	public List<Property> getPropertiesChangedPrice() {
		return propertiesChangedPrice;
	}
	
}
